<html>
<head>
    <link rel="stylesheet" href="../../layui/css/layui.css"/>
    <link rel="stylesheet" href="../../css/list.css"/>

</head>
<body>
<form class="layui-form user-add-form">
    <input type="hidden" id="hideId" value="${integraltype.id!}"/>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label" STYLE="margin-left: 30px">积分类型</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input add-userName" readonly="readonly"
                       value="<#if integraltype.type??><#if integraltype.type==0>查询歌词<#else>看广告</#if><#else>看广告</#if>">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label" STYLE="margin-left: 30px">简介</label>
            <div class="layui-input-block">
                <input type="text" id="desc" class="layui-input add-userName" value="${integraltype.desc!}">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label" STYLE="margin-left: 30px">积分</label>
            <div class="layui-input-block">
                <input type="text" id="integral" class="layui-input add-userName" value="${integraltype.integral!}">
            </div>
        </div>
    </div>
    <div class="layui-input-block">
        <button type="button" id="addAndEdit" class="layui-btn layui-bg-gray" lay-filter="addNews">提交</button>
    </div>
</form>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="../../js/music/integraltypelist.js"></script>


</body>
</html>
